package implementor;


import model.FollowUpAction;
import daoInterfaces.FollowUpActionDao;
import dbhandelling.Crude;

public class FollowUpActionImp extends Crude implements FollowUpActionDao
{

	
	
	@Override
	public void add(FollowUpAction time) throws Exception
	{
		String[] values=new String[9];
		values[0]=time.getActionId()+"";
		values[1]=time.getEnquiryCode()+"";
		values[2]=time.getStateId()+"";
		values[3]=time.getAttendedId()+"";
		values[4]=time.getComments();
		values[5]=time.getFollowUpDate()+"";
		values[6]=time.getFollowUpTime()+"";
		values[7]=time.getActionName();
		values[8]=time.getFollowUpStatus()+"";
		insert("FollowUpAction", values);
		
	}

	@Override
	public void update(FollowUpAction time) {
	
		
	}

	@Override
	public void delete(FollowUpAction time) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public FollowUpAction retrieve(String conditionField, String conditionValue) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FollowUpAction[] retrieveArray(String conditionField,
			String conditionValue) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FollowUpAction[] retrieveAll() {
		// TODO Auto-generated method stub
		return null;
	}

	
}
